package web.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import web.pojo.Teacher;

public interface TeacherMapper {

    public Teacher findTeacherInfoByUserId(@Param("id") Long id);

    @Select("select * from teacher")
    public List<Teacher> findTeachers();
}
